class UrlMappings {
  static mappings = {
      "/$controller/$action?/$id?"{
      //For hiding this mapping, we do not use this.
      // Can not remove because of errors from app-engine plugin
      constraints {
        //apply constraints here
      }
    }

    "/"(view:"/index")

	  "500"(view:'/error')

    //Object Define
      "/rest/define/$id"{
      controller = "defineObject"
      action = [GET:"define"]
    }
      "/test" {
      controller = "test"
      action = "index"
    }

      "/rest/account/$rest_action?" {
      controller = "account"
      action = "index"
    }
  }
}
